package com.gt.web.srv.mapstructs;

import com.gt.web.srv.domain.RepairApplication;
import com.gt.web.srv.domain.SsParticipants;
import com.gt.web.srv.web.api.command.SsParticipantsCommand;
import com.gt.web.srv.web.api.resource.ss.SsParticipantsResource;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author jh
 * @Date 2024/5/18 16:01
 * @PackageName:com.gt.web.srv.converter
 * @ClassName: AdvertisementConverter
 * @Description: TODO
 */
@Mapper
public interface SsParticipantsStruct {

    SsParticipantsStruct INSTANCE = Mappers.getMapper(SsParticipantsStruct.class);


    SsParticipants simple(SsParticipantsCommand ssParticipants);


    SsParticipantsResource simple(SsParticipants ssParticipants);

    List<SsParticipantsResource> simpleList(List<RepairApplication> repairApplications);
}
